package com.godpaper.chessGameHall.events
{
	import com.adobe.cairngorm.control.CairngormEvent;
	import com.godpaper.chessGameHall.controller.JoinRoomController;
	
	public class JoinRoomEvent extends CairngormEvent
	{
		public var newRoom:String;
		public var pword:String;
		public function JoinRoomEvent(newRoom:String,pword:String,isSpector:Boolean=false,dontLeave:Boolean=false,oldRoom:int = -1)
		{
			super(JoinRoomController.JOIN_ROOM);
			this.newRoom = newRoom;
			this.pword = pword;
		}
	}
}